home *** CD-ROM | disk | FTP | other *** search
/ C/C++ Users Group Library 1996 July / C-C++ Users Group Library July 1996.iso / vol_200 / 297_01 / makefile < prev    next >
Makefile  |  1991-12-30  |  1KB  |  41 lines

  1. # makefile for Small Prolog on PC with Turbo C
  2. # note that the compact memory model could be used.
  3. # you may need to change to the large model this if you make your own code.
  4. # We suppose that most of the options are found in turboc.cfg
  5. # You will need to change the directories in the link line as well
  6. # as in turboc.lnk
  7.  
  8. .c.obj:
  9.     tcc -c -ml -DMSDOS=1 $<
  10.  
  11. SRC = pralloc.c prassert.c prbuilti.c prconsul.c prdebug.c prerror.c \
  12.  prhash.c prlush.c prmain.c prparse.c prprint.c prscan.c pribmpc.c prunify.c
  13.  
  14. OBJ = pralloc.obj prassert.obj prbltin.obj prcnsult.obj prdebug.obj\
  15.     prerror.obj  prhash.obj prlush.obj prparse.obj \
  16.     prprint.obj prscan.obj pribmpc.obj prunify.obj prmain.obj
  17.  
  18. sprolog.exe : $(OBJ)
  19.     tlink /c @turboc.lnk, sprolog.exe,,c:\tc\lib\cl c:\tc\lib\emu c:\tc\lib\mathl
  20.  
  21. pp.exe : pp.c
  22.     tcc pp.c 
  23.     
  24. prmain.obj: prmain.c 
  25. prlush.obj: prlush.c prtypes.h prolog.h prlush.h
  26. prscan.obj: prscan.c prtypes.h prolog.h prlex.h
  27. prbltin.obj: prbltin.c prbltin.h prtypes.h prolog.h
  28. pralloc.obj: pralloc.c prtypes.h prolog.h 
  29. prassert.obj  prassert.c: prtypes.h prolog.h 
  30. prcnsult.obj  prcnsult.c: prtypes.h prolog.h 
  31. prdebug.obj: prdebug.c prtypes.h prolog.h 
  32. prerror.obj  prerror.c : prtypes.h prolog.h 
  33. prhash.obj  prhash.c: prtypes.h prolog.h 
  34. prparse.obj  prparse.c: prtypes.h prolog.h 
  35. prprint.obj  prprint.c: prtypes.h prolog.h prlex.h
  36. pribmpc.obj  pribmpc.c: prtypes.h prolog.h 
  37. prunify.obj  prunify.c: prtypes.h prolog.h 
  38.  
  39.     
  40.  
  41.